package com.cpecc.manager.system;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cpecc.dao.system.YouJianDao;
import com.cpecc.model.system.YouJian;

@Service
public class YouJianManager {

	@Autowired
	private YouJianDao youJianDao;
	
	public boolean cover(YouJian youJian){
		return youJianDao.cover(youJian);
	}
	
	public List<YouJian> list(int start,int end){
		return youJianDao.list(start, end);
	}
	
	public YouJian get(int id){
		return youJianDao.get(id);
	}
}
